package com.hdwmw.entity;

import com.hdwmw.constant.Constant;

public class Goods {

	private String goodsimgUrl;
	private String goodsName;
	private String goodsShopid;
	private String goodsShopName;
	private String goodsCategoryid;
	private String goodsPrice;
	private String goodsid;
	private String goodstimes;
	private String goodsales;
	private String goodspre1;
	private String goodspre2;
	
	public String getGoodsShopName() {
		return goodsShopName;
	}
	public void setGoodsShopName(String goodsShopName) {
		this.goodsShopName = goodsShopName;
	}
	public String getGoodsimgUrl() {
		return goodsimgUrl;
	}
	public void setGoodsimgUrl(String goodsimgUrl) {
		this.goodsimgUrl = Constant.baseUrl + goodsimgUrl;
	}
	public String getGoodsName() {
		return goodsName;
	}
	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}
	public String getGoodsShopid() {
		return goodsShopid;
	}
	public void setGoodsShopid(String goodsShopid) {
		this.goodsShopid = goodsShopid;
	}
	public String getGoodsCategoryid() {
		return goodsCategoryid;
	}
	public void setGoodsCategoryid(String goodsCategoryid) {
		this.goodsCategoryid = goodsCategoryid;
	}
	public String getGoodsPrice() {
		float f = Float.valueOf(goodsPrice);
		float f1 = (float)(Math.round(f*10))/10;
//		return goodsPrice;
		return f1+"";
	}
	public void setGoodsPrice(String goodsPrice) {
		this.goodsPrice = goodsPrice;
	}
	public String getGoodsid() {
		return goodsid;
	}
	public void setGoodsid(String goodsid) {
		this.goodsid = goodsid;
	}
	public String getGoodstimes() {
		return goodstimes;
	}
	public void setGoodstimes(String goodstimes) {
		this.goodstimes = goodstimes;
	}
	public String getGoodsales() {
		return goodsales;
	}
	public void setGoodsales(String goodsales) {
		this.goodsales = goodsales;
	}
	public String getGoodspre1() {
		return goodspre1;
	}
	public void setGoodspre1(String goodspre1) {
		this.goodspre1 = goodspre1;
	}
	public String getGoodspre2() {
		return goodspre2;
	}
	public void setGoodspre2(String goodspre2) {
		this.goodspre2 = goodspre2;
	}
}
